﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteMaster.Mobile.Master"
    Inherits="System.Web.Mvc.ViewPage<List<Microhard.WeixinMP.Models.ArtileModel>>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="HolderHeader" runat="server">
    <script type="text/javascript">
        document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
            WeixinJSBridge.call('hideOptionMenu');
        });
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <ul data-role="listview">
        <%
            if (Model != null)
            {
                foreach (var a in Model)
                { %>
        <li><a href="<%=Url.Action("Detial", "ShowArticle", new { oid = a.WeixinName, aid =a.ArticleID})%>">
            <%=a.Title %></a></li>
        <%}%>
        <% } %>
    </ul>
</asp:Content>
